<template>
<div>
  <el-row class="mb-12 bs-flex" justify="center" align="center">
    <el-button type="primary" size="lg" @click="onRouter">Primary</el-button>
  </el-row>
</div>
</template>

<script>
import {defineComponent} from "vue";
import {useRouter} from 'vue-router'

export default defineComponent({
  name: "login",
  setup(){
    const router = useRouter()
    const onRouter = () => {
      router.push({
        path: '/basics/note/home'
      })
    }
    return{
      onRouter
    }
  }
})
</script>

<style scoped>

</style>